package com.woniu.his.bms.service;

import com.woniu.his.bms.infra.model.InvoiceRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.his.bms.service.dto.QueryAmountForStaffDto;
import com.woniu.his.bms.service.dto.BmsInvoiceDto;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 发票记录 服务类
 * </p>
 *
 * @author chenbo
 * @since 2022-11-29
 */
public interface InvoiceRecordService extends IService<InvoiceRecord> {

    QueryAmountForStaffDto queryAmountForStaff(Long staffId, String date);

    boolean supplementPrintInvoice(Long newInvoiceNo, Long billId);

    boolean reprintInvoice(Long newInvoiceNo, Long oldInvoiceNo);

    List<BmsInvoiceDto> queryInvoiceInfo(Long cashierId, Date startDatetime, Date endDatetime);

    List<BmsInvoiceDto> queryInvoiceInfoBySettleId(Long settleRecordId);
}
